<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>libcarcode.base_entities</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>libcarcode.base_entities</h1>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#Box">Box</a></td>
<td></td>
</tr><tr>
<td><a href="#Road">Road</a></td>
<td></td>
</tr><tr>
<td><a href="#Text">Text</a></td>
<td></td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="Box" ID="Box"></a>
<h2>Box</h2>

<h3>Derived from</h3>
ccEntity
<h3>Methods</h3>
<table>
<tr>
<td><a href="#Box.__init__">Box</a></td>
<td>Box</td>
</tr><tr>
<td><a href="#Box.draw">draw</a></td>
<td></td>
</tr>
</table>
<p><a NAME="Box.__init__" ID="Box.__init__"></a>
<h4>Box (Constructor)</h4>
<b>Box</b>(<i>pos, size, color, col=False</i>)
<p>
Box
</p><dl>
<dt><i>pos</i></dt>
<dd>
tuple with box position (x, y)
</dd><dt><i>size</i></dt>
<dd>
tuple with box size (width, height)
</dd><dt><i>color</i></dt>
<dd>
tuple with box color (r, g, b, a)
</dd><dt><i>col</i></dt>
<dd>
if object should detect collisions
</dd>
</dl><a NAME="Box.draw" ID="Box.draw"></a>
<h4>Box.draw</h4>
<b>draw</b>(<i></i>)
</p>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="Road" ID="Road"></a>
<h2>Road</h2>

<h3>Derived from</h3>
None
<h3>Methods</h3>
<table>
<tr>
<td><a href="#Road.__init__">Road</a></td>
<td></td>
</tr><tr>
<td><a href="#Road.draw">draw</a></td>
<td></td>
</tr><tr>
<td><a href="#Road.update">update</a></td>
<td></td>
</tr>
</table>
<p><a NAME="Road.__init__" ID="Road.__init__"></a>
<h4>Road (Constructor)</h4>
<b>Road</b>(<i>road_points, width=50</i>)
<a NAME="Road.draw" ID="Road.draw"></a>
<h4>Road.draw</h4>
<b>draw</b>(<i></i>)
<a NAME="Road.update" ID="Road.update"></a>
<h4>Road.update</h4>
<b>update</b>(<i></i>)
</p>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="Text" ID="Text"></a>
<h2>Text</h2>

<h3>Derived from</h3>
None
<h3>Methods</h3>
<table>
<tr>
<td><a href="#Text.__init__">Text</a></td>
<td></td>
</tr><tr>
<td><a href="#Text.draw">draw</a></td>
<td></td>
</tr><tr>
<td><a href="#Text.update">update</a></td>
<td></td>
</tr>
</table>
<p><a NAME="Text.__init__" ID="Text.__init__"></a>
<h4>Text (Constructor)</h4>
<b>Text</b>(<i>x, y, text, color</i>)
<a NAME="Text.draw" ID="Text.draw"></a>
<h4>Text.draw</h4>
<b>draw</b>(<i></i>)
<a NAME="Text.update" ID="Text.update"></a>
<h4>Text.update</h4>
<b>update</b>(<i></i>)
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>